package com.example.hospital.api.controller.from;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @FileName SearchDoctorContentFrom
 * @folder
 * @Description
 * @Author yf
 * @return
 * @date 2024-08-19
 **/
@Data
public class SearchDoctorContentFrom {
    @NotNull(message = "id不能为空")
    @Min(value = 1, message = "id不能小于1")
    private Integer id;
}
